package com.liuzh.kaoyanspringboot.mapper;

import com.liuzh.kaoyanspringboot.entity.RoleMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 刘志鸿
 * @since 2023-03-03
 */
@Mapper
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {
    boolean deleteByRoleId(@Param("roleId") Integer roleID);

    List<Integer> selectByRoleId(@Param("roleId")  Integer roleId);
}
